package com.engine4cloud.tdf.supervision.dto.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 调查评估被告人罪名查询-请求对象
 *
 * @author wenjie
 * @date 2024-02-29 10:50:30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "调查评估被告人罪名查询-请求对象")
public class DcpgInvCrimeNameQueryDTO implements Serializable {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 调查评估编号
     */
    @Schema(description = "调查评估编号")
    private String dcpgbh;

    /**
     * 调查评估编号列表
     */
    @Schema(description = "调查评估编号列表", example = "202401011111,202401011112")
    private List<String> codeList;

    /**
     * 具体罪名
     */
    @Schema(description = "具体罪名")
    private String zm;

    public DcpgInvCrimeNameQueryDTO(String code) {
        this.dcpgbh = code;
    }

    public DcpgInvCrimeNameQueryDTO(List<String> codeList) {
        this.codeList = codeList;
    }
}